package com.framework.service;

import cn.dev33.satoken.util.SaResult;
import com.framework.entity.Role;
import com.framework.entity.UserRole;

import java.util.List;
import java.util.UUID;

/**
 * @Description: 用户-角色服务接口
 * @Author: JamesYao
 * @DateTime: 2024/2/19 17:20
 */
public interface UserRoleService {
    SaResult saveUserRole(UserRole userRole);
    List<Role> findRolesByUserId(UUID userId);
    void updateUserRole(UserRole userRole);
}
